Export repository functions

It closes #31