Added AMD support with global namespace pollution.