add final annotations to fields to ensure they are never modified