Removed useless print footer function and calls to it.