Refactorting parsing text inside the entry's constructor