Changed EnvironmentImpl map keys to String, to avoid duplicates due to different classloader