public static void declare(PrintStream w, Object... comps) {
        w.println("// Declarartions");
        for (Object c : comps) {
            ComponentAccess cp = new ComponentAccess(c);
            w.println("    " + c.getClass().getName() + " " + objName(cp) + " = new " + c.getClass().getName() + "();");
        }
        w.println();
    }