Modify the access modifier of some functions.