Adding missing variable initialization in constructor.