Correctly setup and initialize classes.