Adding constructors to all classes