Changed the visibility of properties to private.