Use modulestore from runtime.