Moving validation functions to util