Fix api

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>