Fixed the problem of the registration of the entity Gift.