#918 Adding documentation and code cleanup.