Make inner functions private