Reference the sharedView via self not class name.

This would be consistent with the rest of the file, and would permit a subclass to override the implementation of sharedView.