[#4787] Missing require causing failure
This code was using a constant that might not always be loaded.