API: Simplifies API functions.
* Removes deprecated functions.
* Introduces breaking change.
* Reponds to #547.
Merge branch 'simplified_api2' into simplified_api