Use getattribute for decorators