Moved injecting 'shared' method to `initialize`