Add before-insert callback to entities