Removed a whole bunch of useless stuff, and stuff that probably should be included in the documentation.