[WIP] Fix all rubocop offenses in lib/.