Add some SQL support to tags.