Entities can now have their own key types specified.