Bits and pieces of code from various projects.