kie-remote: Making sure TaskCommand instances are also accepted.