Add support for managing interface

Interface could not be passed as supported class for the TypedCollection (Reopen #12 )