Added ARC and iOS support