Added code to debug the collision models.