and of course , there were all sorts of inventions in the last century to forestall the consequences of premature burial bells or other alarms that could be activated from within a coffin , and devices that would assure a supply of air to the occupant .