registry getDefinitions,
registry in index.js