Remove unnecessary getDocumentRoot() method