Add method to set task's settings.
Add lua method to get config for the task.
Add method to get any configuration key in lua.