Added transients for code that should not be serialized.