Support block version of def_mapping.