Reset entity and struct stores on document load