Moved setup of serializer and driver to the extension and validated driver in the compiler pass.