Major RequestWriter refactoring.