Fixes #23 : Corrected updated api functions
Merge pull request #24 from GeertWille/master

Fixes #23: Corrected updated api functions