Validation for returning Guis and Containers