Define interface for a command.