Modified the parameter-less constructor.