Added ErrorManager import