management of keyword self in the decorator