3.1 Compatibility

Change statics to private for 3.1