Fixed API bugs
Merge branch 'master' of github.com:Aleksandre/rpid