Updated interface of repositories