Changed the functionality of enko.classify

Now inheritance is done properly.