[mt1061] Use some getters instead of direct access to members.