Configure deprecation for astro