Allow passing non-string objects to tasks as arguments