protected function replaceAttributes($data)
	{
		foreach ($data as $attribute => $value) {
			$replacement = $this->replaceAttribute($attribute);
			unset($data[$attribute]);
			$data[$replacement] = $value;
		}

		return $data;
	}