Added new methods in checkout and repository