Guard against null effect types.