Added code allow for class_property_names to get values using a string not only an object.