Mainly documentation and some cleanup.