Properly prototype the EMS functions/variables.