Renamed success/error class settings to be less ambiguous