Remove unnecessary getter.