Remove relationships from tx changes class to versioned classes