Implemented the ghost pattern to have documents not initialized. (reverted from commit 52157b325570b9ae072aa2d7d8efed636fde9dfe)