Reworking trees into sources.