Updated plugin for renamed hooks sendResponse and responseComplete