I'd rather have this method in a separate class. The ``XWikiDocument`` class is already too big. Plus, as it is right now this code is hard to test, proven by the fact that you had to test ``readFromForm`` mocking many things when this method only needs the request parameters.