Refactored HTTP method implementations.