updated removeBy methods on repositories