Working CollisionFilter class.