Add "type" column to tables up to 4.1.5

Tables from 4.1.5 onwards to be amended later.