Implemented namespace detection for DTT