Refactor.

Remove unncessary parameter from MainTextSetter.