Command and validation handling.