Controlling access with properties and indexers