Implemented validation and control.