Oops. Duplicated a function.

Aiming to push things down into graph and nodes. Repositories should
provide higher level functionality.

Should also be some way to create repositories very simply. As there
is ridiculous amounts of boiler-plate in there.