Creates new extension methods for Repository and removes optional parame...

...ters from Repository and IRepository for #779