Refactored key derivers and encrypted key readers.