Fixed bad context of callbacks as options.