Set defaults only if part isn't already set.
Added missing configuration functions.
Made html5 validation optional.
Updated tests accordingly.