Fixed inappropriate access for properties.