Change SailRepositoryConnection to more generic RepositoryConnection.