Refactoring the request body parsers.