Move some APIs from system to tasks