Modified mk_api to accept optional limit argument, and removed redundant mk_api_lim_5 argument