Create alias for invoke_task_directly method in namespaces