Add bulk document type change support
Using accesor attribute to add metadata to a document gives and error, use the model directly