Fixed collision bug. Added optional didCollide to Factory.