BUG. Use Config API instead of static properties.