These seem to have been used for the builtin documentation before the current docstring solution. Currently we do nothing with decorators except a few hardcoded ones, and this declaration system is needlessly complicated.
Also fixes a bug - decorator declarations were never *removed* from a function, so removing a decorator would have no effect until renaming or moving the function.
The new isProperty() thing should be replaced by real property types/declarations at some point.