TODO: Extract the compiler portion of setup and put it here.