(#946) - Added options argument to the destroy function.