Allow functions to be wrapped in .map