Changes to take-object command.