Moved variable definitions out of this file to allow it to be included in more than one place.