Tags method and cleanup