Updated and generalized MosaicAnalysis interface.