This method should also be marked const.