[refactoring] introduce 'per-env' attributes