Added plugin hook