gets rid of Unit subclasses