Ran rubocop against lib, fixed offences.