Better documentation, callback, bugs fixed.