Fixed serialization issue (v3 instanse was used instead of v4, failed at runtime).