Added 2 new collision functions.