Added support for document models with explicit db columns