return_alternatives added to extend_transformations method of TransformedStructure class.