add parameters support for contentfunc callbacks