Change ENV.MANDATORY_SETTER to FEATURES so it can be compiled out of production builds.
Merge pull request #5529 from krisselden/mandatory-setter-as-feature

Mandatory setter as feature