Change wrapper function name and add comments to the decorator and frame files