Added synchronous processing.