Properly initialize classes