Fixing python api to ignore text nodes, removing simple batch from compile