Need $self in the plugin too