Simplifies initialization of classes