Geting rid of value not handled in switch warning.