Getting all descendants that are a type

Haven't tested it yet.