Corrections to api functions
Merge pull request #63 from timschofield/develop

Corrections to api functions