Adding 'complement' support for tr
Adding 'complement' support for tr