custom_mapper

Custom mapper support.

It is rough dirty draft solution made just for discussion. Please, DO NOT merge it.
ok, as long as it works.