Housekeeping. pointer->entity