Add a getInstance() method to CodeIgniter Hook.