Refactoring: extract constant.

Allows not to hardcode field name when this middleware is used.