Fix options were erased before being passed down.
Fixed documentation.
Improved test for callback.