Made all private automap routines static