Add `ValOrDefDef` extractor to support Scala 2.10