Implement after each hook
Rename entity to scope for better readability