Add collision coordinate handling functions.