Move a function into the private section