Template:Registry functions