improve descriptions of function attrs