Validation class
Change Input::method() to static