adds `all' method to Repository