a fix to be specific to the class passed in when map is called, not just the property name
Merge pull request #1 from BillKeenan/master

a fix to be specific to the class passed in when map is called, not just the property name