Refactoring keyProcessing strategies.