Implemented basic commands.