Move API fragment out of tasks directory.