Moved init with side effects to its own method which is initiated by Matryoshka when in Matryoshka, not otherwise.