Fix `rake quality` errors