Added some functionality to the repositories