Add methods to enable disable error tracking