Clean up references to env passed throughout the application using RequestStore middleware