API Sites: Support varargs for callbacks

Fixes gh-56