This is some vestigial work for managing lantern version - we will come back to this later, so I'm leaving it in.