If you need to register something within the boot() method of a model, here's a quick tip to do this within a trait if needed.