Added code to prevent retain cycles.