Container::$onValidate is called for all containers [Closes #27]