Workaround for templates