Add support for store plugins returning promises