Declared some setup functions as private.