deprecate some classes and remove unused Profile