Updated version and added some methods to Repository