Replace :class =>  with class: