Implemented LEFTOF and RIGHTOF.