Remove unnecessary stuff from the omod