Add class configuration