Clean-up connector.php