Added inits to classes.

Added inits to classes.