[api] cleanup no-more-complex-functions