CAS-1276: Fixed incorrect prop assignment, and renamed class parameter to match prop.