Use getter for consistency
Merge pull request #27 from google/temp1

Use getter for consistency