Changed cloneable connection interface to use a real method for mocking.