Various fixes.

Conflicts:
	classes/Kohana/DT.php