Export named environments

Fixes #12.