`getter` should be a const function