Added support for multiple frontend connections.