Add support for footnotes.
Rough version of WS post.