Define revamped interface for task.js