Let the accepted types of an item determine which command class to use.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>