Fix the problem where moedels and exceptions arne't being bundled