Fix for "declared virtual variable cannot be defaulted..."