Added "write" command.