Split out some private utilities into effect_util.cpp, so we do not need to include...