Remove deprecated classes and add missing license texts