Insert genericClass search in bind method