Cleaning APIs for tag