Change doctrin/orm version in composer.json. Entities refactoring.