Extend UniversalDetector

Simplified version of the UniversalDetector extention.