Adds tesseractRect method