removes reduntandt methods from legends