local code type extensions must be serializable