Exclude Base/Controller from createAPi() function