Added destroy function for optionable