Bind function to context with 'method' option