CGE2: Initial commit, implement detection.