Modified the listener and visitor extension classes so that the error listener parameters are now optional