Clean up public API

Signed-off-by: Zlatozar Zhelyazkov <zlatozar@gmail.com>