Fix: allow "default" task to be assigned to a class method