Cleanup and templates are done.