Refactored the styles.