Changed CommandSuccess and CommandFailed to abstract classes