Added some new api stuff