Fixed an error with parameterized tasks and updated documentation