v0.3.21 Fixed emiter function serialization