Implemented "valid request" method.