private void initializeMissions() {
        // Full debug setup is very different.
        if (FreeColDebugger.getDebugLevel() >= FreeColDebugger.DEBUG_FULL)
            return;

        AIMain aiMain = getAIMain();

        // Give the ship a transport mission.
        TransportMission tm = null;
        for (AIUnit aiu : getAIUnits()) {
            Unit u = aiu.getUnit();
            if (u.isNaval() && !aiu.hasMission()) {
                aiu.setMission(tm = new TransportMission(aiMain, aiu));
            }
        }

        // Find a colony site, give the land units build colony missions,
        // and add them to the ship's transport mission.
        Location target = null;
        for (AIUnit aiu : getAIUnits()) {
            Unit u = aiu.getUnit();
            if (!u.isNaval() && !aiu.hasMission()) {
                if (target == null) {
                    target = BuildColonyMission.findTarget(aiu, false);
                }
                aiu.setMission(new BuildColonyMission(aiMain, aiu, target));
                tm.addToTransportList(aiu);                
            }
        }
    }