Introduced and optimized hook to server side validation