Add support for mine in masterless configuration.