Add virtual fields to entity