Moved syntax check to only Code Generation modules