More intersection code.