Fix pretty_printing of environments

see #66
Merge pull request #70 from pschultz/patch-2

Fix pretty_printing of environments