Random code cleanups.

Remove unused method, fix spelling error, remove null check that isn't needed.