Formality and Obstruction