Change MozNdefRecord name to NdefRecord. Use NS_WARNING instead of LOG.