Registered values are no longer registered as disposable when resolved from container.
Added 'named' function for typing named dependencies.