Added new functionality for the new API calls.
Merge pull request #3 from karma0/master

Added new functionality for the new API calls.