api tweaks: getExisting(null), templateString -> template