ClientData: added optional parameter to remove prefix from form collection
Allow overriding document type.