make function-returning functions accessible to 'this'