}
LOG.debug("Restoring WindGate profile");
Properties copy = (Properties) properties.clone();
CoreProfile core = CoreProfile.loadFrom(copy, context);
CoreProfile.removeCorrespondingKeys(copy);
SessionProfile session = SessionProfile.loadFrom(copy, context);
SessionProfile.removeCorrespondingKeys(copy);
Collection<? extends ProcessProfile> processes = ProcessProfile.loadFrom(copy, context);
ProcessProfile.removeCorrespondingKeys(copy);
Collection<? extends ResourceProfile> resources = ResourceProfile.loadFrom(copy, context);
ResourceProfile.removeCorrespondingKeys(copy);