Added template and data storage.