Added necessary pieces for compiling.