Fixed API inconsistencies

Signed-off-by: Grégory PLANCHAT <g.planchat@gmail.com>
Added API docs

Signed-off-by: Grégory PLANCHAT <g.planchat@gmail.com>