API: use the exported object as a function.