Add @Deprecate annotation to deprecated layer classes