Passing aggregate object rather than uri to remove_aggregate will raise an exception:
File "/Users/matthewgamble/Dropbox/Code/rolib/manifest.py", line 262, in remove_aggregate
self.aggregates.remove(aggregate)
UnboundLocalError: local variable 'aggregate' referenced before assignment