I think this should be a little more generic -- using interface (attributeMapper) rather than specific implementation.