Return object with a return function call