Creates new extension methods for Repository and removes optional parameters from Repository and IRepository for #779