Added a fancy syntax checking decorator and custom error message for generated code that is not correct