Common functionality used by the different modules (includes data types and other utils).