Connect all the pieces together.