Remove stupid warning
Add parameter to display errors of required (for static templates)
Merge better handling of warning