The non-UI portions of Svallet, for embedding.