Added registerType template and some map getters