Add accessor method instead of making instance data protected