Refactor to reduce the size of ParseRequest in order to reduce memory usage.