Improvements to deal type and added action type.