Added a couple of apis.