Allowing workId to be an object.