New problemUtils.js functions.