Add deprecation warnings to nodes