Darwin integration

Fix a merge error and support for topology in the darwin backend.