Mandatory setter as feature

Depends on #5528 and build tooling to enable feature in development and disable in production, like the debug stuff. /cc @rwjblue