- failure handler gets called if an exception occurs in native code - rename "raw" serializer to "utf8" - extract serializer into separate file