Update KeyCastr

Closes #7542.