Use getter rather than field access for value