Support pregenerated spikes.
Fix model config.