Add wrapper method so task config looks the same as plugin config.

This allows for the configuration of a task using the same syntax
as when configuring the the plugin.