Workaround 'Writables' bug SPARK-1018