Since algoliasearch-rails upgrade, slaves need to be defined in the model.