Add version compatible code for conn_rec