Added `onRemoveErrorMessage` callback.