Build objects and connections only once.