Implement CommandAPI