Refactor/fix statics example.