Support for after serialized hook. Required to support OnSerializedAttribute (see unit test for details).