Fixed crash when declaring a None default value.