Fix warnings generated by layout:nil, and pygments:
Merge pull request #382 from eksperimental/warnings

Fix warnings generated by layout:nil, and pygments: