Added NULL option for metadata in pfAddData