Common code used in other projects.