Added tags validation to Connector.php