remove defunct function/methods/arguments