Added completion/failure block to parser.