Fix attribute getter.