Just pass the container in RegisterLinks(), no need to lookup by name

Cleanup: Just pass the container in RegisterLinks(), no need to lookup by name.