Added map reg to core.Context module.