Returning mapped properties when mapping to an instance. Fixes #522

Also, making commands only set initial value for mapped properties as a consequence.