Issue #4277 : Change some apis to private.
Merge pull request #1645 from SmallAiTT/iss_4277_fix4release3.0

Issue #4277 : Change some apis to private.