Fixing declaration of statics to private for 3.1+ compatibility