Remove GM code