Started pagination of object inside an entity.
Make edit thread generic and passes tests.