General code and entity meta restructure. Rename `died` into `ceased`