Adding new contributions for documentation and enhancing the InMemoryContext