Refine type mapping mechanism