Fixed definition of outputs for emf model