Refactor Caption into SetCaption