Pass on proper class to Command.execute().