Added template inclusion function