- Added api utility method
- Fixed wrong phpdoc
- Some fixes