Various utilities for CWE