Fixed a lot of retain cycles.