Adding constructor for name, label, and messages