Fix H2 factory constructor visibility