Converted validators to static and supplied classname for call_user_func in validators