Implemented some commands.