This is a duplication of the code in `Model.findById`. You should extract the callback to a class that can be used by both `Model.findById` and `ContainerRepository`.