Removing $this->vpt = new VirtualPagesTemplates line will case an error on assertion (which is expected since you are not calling the plugin) so I don't know why its not needed