Moved due to a JSLint issue (used before defined) from a previous commit.