Move functions into the private scope