Simple validation library