Add validation for setting up collections