Added success/error classes.