Started adding support for different CMK encryption algorithms.