Adds opts parameter for passing contextual information to executors.