Add support for Subclasses, Interfaces, Abstract Classes as POJOs

Changing it.