Ref 71b2ac52: Disallow 2.x bypass of environmental helper methods