Removed old XrayMain dependence xD