Initialize data in constructor.