Configure deprecation for hax