Fixed UML generation under 1.8.7