Initialize class before using it