Removed code conflicting with ARC. Added an additional method for returning blocks of NSData.