Why deprecated is excluded? To not generate deprecation warning about synthetic classes?