Add validation to control objects