Adds registration method and new dependencies.