Adds table difference functionality.