Added InclusionMode.ModifiedAndNotEmpty.
Added support for creations of custom attributes and data attributes.