Closed #8: Added function get_current_task() for the replacement of make...

..._task_method()