Add classes from state