Remove getErrorManager() and setErrorManager.