Auto controller on for document model