Fix warnings
Implement isLeft for base < 4.7