Allow scoped function for tag creation