api: refactor
2.0.0