Beginning of code for minmal compilation.