Fix missing argument 2 when tasks method is called.