Remove unused mappings and create a map to paste "generic" register