support for adding extensions to the ZAM machine