insertEffects: handle 'contents'