Implemented case alignment.