Fix typings of EntityStatic
Add DocumentExecutor
Implement document executor to categoryLoader