Generalize class signature