This is unclear: is there a case when self.imt is not None? It would think it should always come from the .xml file.