(chore) Deprecation flag to generate warnings