Moved binding application logic to binding.
Added basic polymorphic mapping support.
Added ambiguity check to polymorphic map def.