Remove duplicate method and group matchers