Add support for user-defined input elements in Mapper->copyfrom()