Code for handling legacy PomBase data