make getRegisteredMappingsByKey/Type into private getters