Adds deprecated to docblock.