Added posibility to make map_functions out of members.