Remove duplicated exports and ensure selectors and methods have the same number of arguments.