* CORE_entity: Revise the API.

  This commit breaks everything. That is real life, baby.