Completed clean up the byteCodeGenerator