Adding abortThrow option