Refactored to return Repo object - fixes #9