Added CoW as a compile-time option, enabled by default.