Fixes wrong parameter in set() method for decorators