Added collision masks to physics::Entity.