Implement tab completion for tags.