Changed a few "ret" variables to have better names.