Removed addToRegistry() method