Made basic API stuff work