Updated to use NS_RETURNS_NOT_RETAINED where needed to address static analysis warnings (Issue 14)