Initializing the class structure.