Initialize class.