Make changes to get the ahocorasick methods to be added kernel object