Add @Deprecated(forRemoval = true) to obsolete elements