Add ability to just pass in a command class instead of an instance.