added support for extending data element includes in templates