Playing with the editor's code, extended EntityManager.