Hide doc.size with renaming and hide doc.hasModel.