[BUGFIX] Restore "required" field attribute functionality

Fixes: #185