callback can take an extra 'data' argument, that can be retrievedOC upon calling by ctx->fdata()
add support for createFunction in the python biding