Add support for integer square roots.