Make the code compilable with upgraded server jar