cppcheck: make accessors public