Made all classes selectable and work properly.