Add support for Subclasses, Interfaces, Abstract Classes as POJOs

Oops .. I was apparently confused. Since your key is a class, everything is fine.