Finished adding support for multiple swarms.