Fixing compilation of *_CUSTOM_* classes
(note they are not yet tested, and were committed too early by mistake)