Fixed #67 a critical bug related to changing a virtual class' superclass.