Registry functions