Cleaning up headers to match ifndef style and adding notes to documentation.