minor fix to serializability of SmileFactory