Added capability registration method that allows to register implementation under interface or superclass type