Add declareRunNumber for asynchronous running