Fix a copy-n-paste bug in the object decorator code.