Added support for retrieving the type of the plugin implementation without actually getting the class.