Alter routines for key grabbing.