Add support for linking on creation + remove the cache in the registry

As usual no tests included.