Use accessors for better encapsulation