See "Static configuration properties are now immutable, you must use Config API." in the 3.1 change log for details.