Functions now called with with task context