Check in the command factory