Implement basic validate command.