config is also deprecated.