public function processDefaults($data, $defaults = [])
	{
		if(is_array($defaults))
		{
			// Replace default values with given values.
			$defaults = $data + $defaults;
			
			// Iterate each default key set.
			foreach($defaults as $key => $value)
			{
				if( ! isset($data[$key]))
				{
					// If value is not false, use that directly otherwise compute it.
					if($value !== false && empty($data[$key]))
					{
						$data[$key] = $value;
					}
					// Otherwise, do some custom processing.
					elseif(empty($data[$key]))
					{
						switch($key)
						{
							default:
							break;
						}
					}
				}
			}
		}

		return $data;
	}