Add 'required' and 'infoText' to constructor #804