Initialized instance properties correctly.