Provided haddock documentation. Reordered declarations with reckless abandon. Removed unused exports, especially prefix.