Add 'contains' method to registry