Finish "write text" method.