Add deprecated attributes to deprecated function defs