Fix properties in exceptions.