prepareAliases renamed to prepare with public scope
Added method in extend class to prepare certain class to be instantiated