Given that the API args are completely different (config file vs config object), we should probably have different API or explicitly make this method support that (instead of kwargs).