Allow modules to return promises