replace name-finding decorators with initial functions in methods