Updated documentation and cleaned up get_objects_for_workstep