Added template and code to load it.