Add const to content extension parser