Miscellaneous cleanup and tweaking.

  - Remove unnecessary MemorySpan methods.
  - Some style changes for unittest things.