Fix call to static class property