Add footer, improve spec tests.