Fix indenting and strip srcref from generated f