I was thinking that this should probably not be used in multiple places, so keeping it at the top of the file would work as a "red flag". For me it looks weird that so many files have direct access to the *persistence layer*, I would probably abstract this into a discrete module; so if in the future we decide to store things using a different mechanism, we wouldn't need to replace it in so many places.