Recursively search protocols for possible factory method names