Improved liquid snippet.