Added constructor required param check.