Add ranks to the API. Now has get/set rank!