Main functionality moved to Input::Validator