Avoid "uninitialized variable" message after new keyword