public function getConfig($key = null)
	{
		if ($key === null)
		{
			return array_merge($this->configDefaults, $this->config);
		}
		elseif (isset($this->config[$key]))
		{
			return $this->config[$key];
		}
		elseif (isset($this->configDefaults[$key]))
		{
			return $this->configDefaults[$key];
		}

		return null;
	}