Revert "简化没有必要暴露的代码"

This reverts commit e0fe30d41d92490ab9d76ca5f3d6083bfe3de90a.