Added support for the "take" command.