Initialise some variables as they're defined