I see red warning in IDE on class that is annotated with Serializable but implement java io Serializable also. I understood to fix it I need to annotate class with internal serialisation api annotation. And this is because the code generation doesn't happen in this case but the reflection is used to not clash with java serialisation. Is it correct?