/**
  *	Set JSON/XML data object exclusions/inclusions.
  *	NOTE: ALL data objects are included by default (excluding some core), unless disabled or inclusions have explicitly been defined.
  *
  *	@parameter <{FILTER_TYPE}> string
  *	@parameter <{DATA_OBJECT_NAMES}> array(string)
  */
 public static function customise_data_objects($type, $objects = null)
 {
     // Merge the exclusions/inclusions in case of multiple definitions.
     if (is_array($objects) && strtolower($type) === 'exclude') {
         self::$custom_exclusions = array_unique(array_merge(self::$custom_exclusions, $objects));
     } else {
         if (is_array($objects) && strtolower($type) === 'include') {
             self::$custom_inclusions = array_unique(array_merge(self::$custom_inclusions, $objects));
         } else {
             if (strtolower($type) === 'disabled') {
                 self::$disabled = true;
                 // The CMS interface will no longer be required.
                 CMSMenu::remove_menu_item('APIwesomeAdmin');
             }
         }
     }
 }