Statics in custom Page classes need to be "private" from 3.1.0 onwards

When doing a /dev/build the code won't work on 3.1.0 onwards because the statics aren't private.