Infrastructure for server side validation