Fixed compatibility bugs with the new api on the main site.