Add new API functions.
Merge remote-tracking branch 'origin/Micapat' into Asmature