Avoid error when no footer is set

Closes #46.