Sharing

Fixes #15.