ARC compliant

Removed [retain] and [dealloc] to make ARC compliant.