* Need documentation
* Error handling API (mid_errno, mid_strerror)
