Fix type hinting for HydrateVisitor's hydrate method