Privatise lots of functions to limit the public API