Fixed reference to class to :class and fixed variable assignment.  Also added missing ' in that line