Added XML support for imports