Create document store based on Lokad implementation.