Adding support for docker-registry type under definitions/