Refactored requests and responses.