Adds deprecation notices for structures to be removed in 3.0.