Added support for ignoring specified method names.