Fixed unbindAll issue when no classes are included