Removed cruft. Added docs