Add better priority collision handling.