Changed parameter $mode (int) of BindingParameter to $required (bool)