Injection of components into device