Only allow search for methods.