Fixed a bug that appeared when loading definitions from gzipped file.