Templates for use with asyncio