Use getter methods instead of public properties