Implement support for the Command API. Add a command example.