Map attributes with lambda expressions.