Added a snippet for l() and query