Fixing unnecessary initializations when reading static properties