Added more SQL API stuff