The mapping should be defined on module level to save some memory.