Added the ability to add machine event codes to the system.