Fixing the AsyncPlugin. Closes #304.