Adding consts for functions that don't modify list