Constify two internal methods