[FLINK-1042] Changed ClassLoader field to be transient.