Hacking to pre-compile case alternatives