Editor: simplify quest model code.