This issue is not about APIs, but about refactoring. Unify variable names in whole code, and make it easier to understand.