Remove unused dependency on methods.