WIP: refactoring the tissue model to work with SFM.