Further changes to methods regarding adjacent positions and other methods used by it.