take gk.registry() method into gk.init() method