Add tagging functionality.