Make proxy classes env dependent
Merge pull request #20 from Seldaek/patch-1

Make proxy classes env dependent