Remove unnecessary code: #to_s calls, explicit return of nils.