Define classes as parameters