made ConnectionTemplate backward compatible as well