Way back when, most castings were “Chilled” and therefore very hard to machine with the tooling of the day. If oil impregnation was considered not to be a problem, then paraffin was most commonaly used to good effect. If my memory hasn’t completely failed, we used to use tallow as well.
Regards.
Mick