Changed to use enhanced ruby mode.