Updated method to get object by interfaces.
Release 0.4