Improvements to Scm_util.