Clean up properties in exceptions.