API Adjustments. Added validate command.