Implementing set command.