Cleaned up internal documentation a bit