Allow env-set to handle deprecated attributes