Refactored header access in request interface.