A multi-component description of the unit-cell content is introduced. Efficient algorithms to define the contribution of these components to structure factors are described and implemented inCCTBXandPhenix.