Workaround for static templates.