Export fix

This fixes the issue detailed in #153.