Pass self to plugins