Fixed the externalizable flag not being set