Rename local scheduler variables.

To reflact the renaming of the type.