Gather collision code into subclass