Move raise to AttributeMapper