Remove the unused DecodeCommand function