Minor fix on UserCodeClassLoader

Accept transient fields as they are not serialized.