Needed to add a little more code to get private properties to work.