#304 is trying to implement the same mod.