Fix stray buff/debuff functions to conform to 3.1 API.
Bug watches keep track of this bug in other bug trackers.