Add footnotes and refactor.