First version of validation helpers