Extracted static collision functions to Collisions class