Ensure a Function is exported

Closes #40