Added unsafe functions to connection.