Fix tabs in API.cpp