Removed instances of var named ‘class’