I copied this code literally from the original constructor. I think it's better for performance to have the property on the object itself.