Clean up tagFactory