Use Config API instead of static properties.