merge behaviors for all classes