Change getter to const