Add --max-depth flag.
Add option to filter to only defined or referenced methods.