Add deprecated flag.