Add "final" modifier to resource IDs.