insertEffects: self and contents now work without lambdas