Client side code for modding.