Changed some api stuff.