Add support for Subclasses, Interfaces, Abstract Classes as POJOs