p = m.get(n);
p = (Behaviour) m.get(n);
    public Behaviour getProcedure(String n) throws Exception {        Behaviour p = null;        Map m = getProcedures();        if (m != null) {            p = m.get(n);        } else {            throw new Exception("Could not get procedure. The procedures is null.");        }        return p;    }