Store a bunch of mode stuff