Starting to implement custom entity collisions (#323).