This parses the entity.