Massive documentation overhaul.