Added logger callback, magics for options.