Template workaround