Register, resolve and unregister with named dependencies