API update

Signed-off-by: Ladislav Klenovic <klenovic@nerdrobot.net>