Split generic utils from valid functionality