Fix incorrectly placed 'ApiResult'