Added more API methods.
Added comments to API methods.