Some common code that can be added to most projects.