Improving GrapicUtil.