PomBase code for dealing with legacy data