Fixed a few small typos and visibility errors.