Reorder functions to avoid forward declarations
Bump version to 0.1.1