Unprivatize state and functions for more advanced usages.